#----------------------------- tao makefile -----------------------------
#
#Read and modify options in ./src/Makefile
#
#Type  'make'  in this directory to compile tao 
#
#------------------------------------------------------------------------



all:
	(cd src; make)
	@echo; echo; echo Compilation done.
	@(echo "ADD ./tao/bin/ AND ./tao/script/ TO YOUR PATH.")
	@(echo "ADD  setenv tao_dir `pwd`  TO YOUR VARIABLES.")

clean:
	(cd src; make clean)

tao: 
	(cd src; make tao)


vers: 
	rm -f src/*.o lib/libreria.o lib/libreria.a 
	rm -R -f version_tmp tao
	mkdir version_tmp
	cp -R -L Makefile README bin demo doc include lib script src version_tmp
	rm -f version_tmp/doc/first_compilation.txt version_tmp/lib/sistbanda* version_tmp/lib/surf_proc* version_tmp/lib/thin_sheet*
	mv version_tmp tao
	tar -chf tao.tar tao
	gzip *tar
	mv tao version_tmp
	rm -R -f version_tmp
